|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Modification Name: Calendar Author(s): LK, originally by jordo Description: This modification will add a calendar to your UBB. UBB's birthday will show up in the calendar and add an avatar near the user's name in his/her birthday. You will also be able to post an announcement and set a calendar date and it will show it in the calendar. It's 100% Templetized and Wordletized and includes a CP interface. Demo: https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=calendar Requirements: UBB.classic™ 6.6.0+ Download Link: ZIP File or MultiHack File (created by Allen). Other Info: New in 6.6 version: when you rebuild member metadata, the birthday file is automatically updated to be kept up-to-date with the latest records. Number of Downloads: [img] https://www.ubbdev.com/lk/num.php?s=calendar66.zip[/img]
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Demo:
FYI You are attempting to reach a page that does not exist.
ยป Please use your browser's back button to return.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks LK 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yeah, I didn't install it on ubbdev yet 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
awwe no link to calendar re-location?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
the code is different, so you'll need a 6.6 version anyway 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Oops, ZIP file updated, please rehack ubb_forum_summary.cgi and update vars_wordlets_calendar with the 2 "forum_summary_X" values..
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
quote: Originally posted by Gizzy: any new changes?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote:
Originally posted by Gizzy: quote: [qb]Originally posted by Gizzy: any new changes?[/qb]
If you mean from 2.0 to 2.1, a bunch - You can now rebuild the birthdays, which was a big problem back when banned members were still on the calendar - Smilies can now be in the titles - Only one template file, where as there was like 3 before - You can edit one event at a time, instead of having to open up all the events that day - Events and birthdays are now listed separately, and there is no more "No events schedules for today". If there is no event, it won't be there at all A demo until he gets the one up at UBBDEV can be seen here
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
mmmm, sounds super... lemme grab the 6.5 one :x...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
LK, is there anything "buggy" about this?
ie. why still in beta?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Weird Al's feature listing is correct.. there are also more features, such as a rebuilt event review It's still in beta because in my opinion any "complicated" hack should be in beta stage for some time before being considered final... and the 6.5 one isn't considered final because if it were final, there wouldn't have been a calendar v2.1. btw, nice signature 
|
|
|
|
Joined: Nov 2001
Posts: 96
Member
|
Member
Joined: Nov 2001
Posts: 96 |
BTW, thanks for grouping the changes in calendar.txt to put .pl files seperate from .cgi files. Makes editing much less acrobatic. That and upgrade.cgi seems pretty simple now. You didn't forget a single one of my suggestions yet! 
|
|
|
|
Joined: Nov 2003
Posts: 156
Member
|
Member
Joined: Nov 2003
Posts: 156 |
Installation was easy! It was nice to not have to bounce back and forth between CGI and non-CGI folders. Is there anyway to make the calendar events span more than one day, or do I have to create an event for each day? Here is my site, you can register to check it out, or I'll provide you with a log0-in at your request. Thanks! --Phillip http://4.3.203.28/tin_benders/cgi-bin/ultimatebb.cgi
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Hey LK, the weekly events only repeat for that month, and not the following ones. ie if I set tomorrow to start a weekly event, it'll be every wednesday in november, but not in december
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
that's currently the designed behavior... I believe you can change that in ubb_lib_calendar.cgi, where it searches for /w/ and replaces the month-day with the day on the current week, also make it replace the month with the current month
|
|
|
|
Joined: Nov 2001
Posts: 96
Member
|
Member
Joined: Nov 2001
Posts: 96 |
Wah! Still beta! 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it works fine, the beta is just so he can add to it without making it 3.0
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yeah, beta is only because the feature list isn't final. 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
nothing shows unless there is an event today, so just add an even today and it will show *hopes this time the post stays*
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Weird Al, ist there no possibility, like in 6.4 or 6.5 to show the calendar "column" everytime...like here: http://www.d-talk.tv/cgi-bin/ultimatebb.cgi
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it's actually quite easy FIND IN UBB_FORUM_SUMMARY.CGI REPLACE WITH: </tr> $TBB ~ : qq~
$TBT <tr><td background="$vars_style{AltColumnColor1}"><font color="$vars_style{TextColor}" face="$vars_style{FontFace}" size="$vars_style{FDTextSize}"> $vars_wordlets_calendar{NoStinkinEvent}</font></td></tr> $TBB~; And in vars_wordlets_calendar.cgi, add the line q!NoStinkinEvent! => q!No Events Scheduled For Today!, somewhere in the middle. just go into the cp and change that wordlet to whatever you want
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Weird Al, thank you very much!!!! Can you help me again? Look at http://www.ubb-test.board-world.net/cgi-bin/ultimatebb.cgi Something is wrong their with the calendar link... What can I do... Thanks again :-) d-talk
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
did you mod the public_common.pl file? Make sure those steps were done correctly (I think it was only one step)
EDIT: heading to class, will help tonight
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
No, not the link there, the Link above recent Visitors, ":Kalendertest".....
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
|
|
|
|
Joined: Feb 2003
Posts: 179
Member
|
Member
Joined: Feb 2003
Posts: 179 |
quick question - can you restrict access to this calender so that its only available to registered users? (i dont restrict access to members only, just require login on on posting).
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
I don't know if this was answered or not, but how would one go about putting the calendar on the home page such as is done here at UBBDEV? Would that simply be by including an SSI tag where we want the calendar to show up?
- MT
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
## This file can be called with <!--#exec cgi="ubb_calendar_ssi.cgi" --> for today's event ## and <!--#exec cgi="ubb_calendar_ssi.cgi?s=yes" --> for monthly events (or <!--#exec cgi=ubb_calendar_ssi.cgi?s=yes&css=yes" --> if you'll use CSS). use those codes accordingly and put it whereever you want in your page
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi,
i build it into 6.7 and get that error:
Global symbol "%vars_calendar" requires explicit package name at CGIPath/ubb_profile.cgi line 964. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 965. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 967. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 970. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_profile.cgi line 973. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_profile.cgi line 973. BEGIN not safe after errors--compilation aborted at CGIPath/ubb_profile.cgi line 1051.
what can I do?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
right before that code, add my($poster_name, $julian_bday); use vars qw(%vars_calendar);
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Now I get this error when I klick at Agreement view on profile page
Global symbol "%vars_calendar" requires explicit package name at CGIPath/ubb_registration.cgi line 703. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_registration.cgi line 704. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_registration.cgi line 706. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_registration.cgi line 716. Global symbol "$poster_name" requires explicit package name at CGIPath/ubb_registration.cgi line 718. Global symbol "$julian_bday" requires explicit package name at CGIPath/ubb_registration.cgi line 718. BEGIN not safe after errors--compilation aborted at CGIPath/ubb_registration.cgi line 775.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
I added the to lines before the new code in ubb_registration.cgi and now it works....
|
|
|
|
Joined: May 2000
Posts: 1,168
Member
|
Member
Joined: May 2000
Posts: 1,168 |
As an asside, what script was used to get this to show up as a little calendar on the main page?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
look at the top of ubb_lib_calendar_ssi.cgi to see the examples
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
On my site I use: [code][/code]
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi, can you tell me what I have to do, that calendar looks like at Al's page? ![[Linked Image]](http://www.d-talk.tv/calendar.jpg)
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
That's default for the presant version out when there is no event I believe...
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|